package com.zcah.mask.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.zcah.mask.dao.MaskMethodDao;
import com.zcah.mask.domain.MaskMethodDO;
import com.zcah.mask.service.MaskMethodService;



@Service
public class MaskMethodServiceImpl implements MaskMethodService {
	@Autowired
	private MaskMethodDao maskMethodDao;
	
	@Override
	public MaskMethodDO get(Integer maskMethodId){
		return maskMethodDao.get(maskMethodId);
	}
	
	@Override
	public List<MaskMethodDO> list(Map<String, Object> map){
		return maskMethodDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return maskMethodDao.count(map);
	}
	
	@Override
	public int save(MaskMethodDO maskMethod){
		return maskMethodDao.save(maskMethod);
	}
	
	@Override
	public int update(MaskMethodDO maskMethod){
		return maskMethodDao.update(maskMethod);
	}
	
	@Override
	public int remove(Integer maskMethodId){
		return maskMethodDao.remove(maskMethodId);
	}
	
	@Override
	public int batchRemove(Integer[] maskMethodIds){
		return maskMethodDao.batchRemove(maskMethodIds);
	}
	
}
